<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
	<title>二维码</title>
<style>
    *{
        margin:0;
        padding:0;
    }
    body{
        font-size: 1em;
        font-family:"Heiti SC","FZLanTingHei-L-GBK","GothamBook","helvetica","arial","Microsoft Yahei",sans-serif;
    }
    #span{
        overflow: hidden;
        text-align: center;
        font-size:1.125em;
        color:#000;
    }
    #span>div{
        clear: both;
    }
    #span span{
        color:#ec6f23;
    }
    #span img{
        float: right;
        display: block;
        margin:.889em 1.11em;
    }
</style>
</head>
<body>
<div id="span"></div>
<script type="text/javascript">
    var span = document.getElementById('span');
	var u = navigator.userAgent, app = navigator.appVersion;
    var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1; //g
    var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
    if (isAndroid) {
        window.location.href = 'http://zhushou.360.cn/detail/index/soft_id/3497244?recrefer=SE_D_%E9%92%A2%E9%93%BE%E7%BD%91';
    }
    if (isIOS) {
        span.innerHTML = "<img src=\"/resource/img/app_two_code.png\"/><div>请点击右上方按钮，选择<span>原生浏览器</span>查看！</div>";
        window.location.href = 'itms://itunes.apple.com/us/app/gang-lian-wang-zhuan-zhu-jian/id1156774406?l=zh&ls=1&mt=8';
    }
</script>
</body>
</html>